<!DOCTYPE html>
<html lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width">

	<title>Monaco Editor | monaco-editor 中文官网</title><meta name="description" content="monaco editor 中文官网，为 monaco-editor 提供更好的中文资料" /><meta name="Keywords" content="monaco-editor,monaco editor,monaco-editor 中文文档,
monaco editor中文, 前端,vscode,vscode 中文"/>

	<link data-inline="yes-please" href="./lib/bootstrap-cosmo.css" rel="stylesheet">
	<link data-inline="yes-please" href="./lib/bootstrap-responsive.min.css" rel="stylesheet">
	<link data-inline="yes-please" href="./all.css" rel="stylesheet">
	<link data-inline="yes-please" href="./index/index.css" rel="stylesheet">

	<link data-name="vs/editor/editor.main" rel="stylesheet" href="../release/dev/vs/editor/editor.main.css">
</head>

<body>
	<pre data-preload="index/samples/sample.typescript.txt"></pre>
	<pre data-preload="index/samples/diff.lhs.txt"></pre>
	<pre data-preload="index/samples/diff.rhs.txt"></pre>
	<a id="gh-link" href="https://github.com/Microsoft/monaco-editor"><img
		width="149" height="149" alt="Fork me on GitHub" src="./fork.png"/></a>
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<div class="logo">
					<a href="index.html">Monaco Editor</a>
				</div>
				<!-- collapse button for smaller screens -->
				<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>

				<!-- navbar title -->
				<div class="nav-collapse collapse">
					<ul class="nav">
						<li><a class="nav-item" href="index.html">首页</a></li>
						<li><a class="nav-item" href="playground.html">在线示例</a></li>
						<li><a class="nav-item" href="api/index.html">API 文档</a></li>
						<li><a class="nav-item" href="monarch.html">Monarch</a></li>
<li><a class="nav-item" target="_blank" href="https://microsoft.github.io/monaco-editor/">英文官网</a></li>
						<li><a class="nav-item" target="_blank" href="https://r.npm.taobao.org/monaco-editor/-/monaco-editor-{{version}}.tgz">下载 {{version}}</a></li>
					</ul>
				</div>
			</div>
		</div>
	</nav>
	<section class="try">
		<div class="container">
			<h3>关于</h3>
			<div class="row">
				<div class="span12">
					<br/>
					<p>Monaco Editor 是 <a href="https://github.com/Microsoft/vscode">VS Code</a> 的核心引擎。
					这里有一篇 <a href="https://code.visualstudio.com/docs/editor/editingevolved">文章</a> 很好的介绍了 Monaco Editor 的特性。</p>

					<p>其开源协议为 MIT，支持的浏览器有 Edge, Chrome, Firefox, Safari 和 Opera。</p>

					<p>Monaco editor <span style="font-weight:bold;color:#ff5722;">不</span> 支持移动端的浏览器或者移动端 Web 框架。</p>

					<p>更多信息请看 <a href="https://github.com/Microsoft/monaco-editor"> Github 仓库</a>。</p>
				</div>
			</div>
			<hr/>
			<h3>下载 v{{version}}</h3>
			<div class="row">
				<div class="span12">
					<br/>
					<p>最新版本是 <strong>{{version}}</strong>。</p>
					<p>直接点击 <a target="_blank" href="https://r.npm.taobao.org/monaco-editor/-/monaco-editor-{{version}}.tgz">下载链接</a>
					或者使用 <a href="https://www.npmjs.com/package/monaco-editor">npm</a>:</p>
					<pre style="color:black">npm install monaco-editor@{{version}}</pre>
				</div>
			</div>
			<hr/>
			<h3>Editor</h3>
			<div class="editor row">
				<div class="span3">
					<h4 title="Syntax colorization plus support for errors, warnings, IntelliSense, formatting and outlining">丰富的智能提示、语法校检</h4>
					<p>TypeScript, JavaScript, CSS, LESS, SCSS, JSON, HTML</p>
					<br>
					<h4 title="Syntax colorization">语言高亮</h4>
					<p>XML, PHP, C#, C++, Razor, Markdown, Diff, Java, VB, CoffeeScript, Handlebars, Batch, Pug, F#, Lua, Powershell,
						Python, Ruby, SASS, R, Objective-C</p>
					<br>
					<p>语法高亮是通过 <a href="monarch.html"
						target="_blank">Monarch</a> 实现的。</p>
				</div>
				<div class="span9">
					<div class="row">
						<div class="span4">
							<label class="control-label">语言</label>
							<select class="language-picker"></select>
						</div>
						<div class="span4">
							<label class="control-label">主题</label>
							<select class="theme-picker">
								<option>Visual Studio</option>
								<option>Visual Studio Dark</option>
								<option>High Contrast Dark</option>
							</select>
						</div>
					</div>
					<div class="editor-frame">
						<div class="loading editor" style="display: none;">
							<div class="progress progress-striped active">
								<div class="bar"></div>
							</div>
						</div>
						<div id="editor"></div>
					</div>
				</div>
			</div>
			<hr>
			<h3>Diff Editor</h3>
			<div class="editor row">
				<div class="span3">
					<h4 title="As you type diffing for all supported languages">并列差异比较</h4>
					<p>支持所有语言开箱即用</p>
				</div>
				<div class="span9">
					<div class="row">
						<div class="span8">
							<div class="checkbox">
								<label class="control-label">
									<input id="inline-diff-checkbox" type="checkbox" value=""> Inline diff
								</label>
							</div>
						</div>
					</div>
					<div class="editor-frame">
						<div class="loading diff-editor" style="display: none;">
							<div class="progress progress-striped active">
								<div class="bar"></div>
							</div>
						</div>
						<div id="diff-editor"></div>
					</div>
				</div>
			</div>
		</div>

	</section>

	<footer class="container">
		<hr>
		<p class="text-center">
			<a href="https://microsoft.com" title="Microsoft">
				<img src="https://opensource.microsoft.com/assets/images/Microsoft_logo.svg" alt="Microsoft" style="max-height:23px;margin-bottom:12px;">
			</a>
			<br/>
			<small>&copy; {{year}} Microsoft</small>
		</p>
	</footer>

	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js" integrity="sha256-wS9gmOZBqsqWxgIVgA8Y9WcQOa7PgSIX+rPA0VL2rbQ=" crossorigin="anonymous"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/bootstrap.min.js" integrity="sha256-u+l2mGjpmGK/mFgUncmMcFKdMijvV+J3odlDJZSNUu8=" crossorigin="anonymous"></script>

	<script>var require = { paths: { 'vs': '../release/dev/vs' } };</script>
	<script src="../release/dev/vs/loader.js"></script>
	<script src="../release/dev/vs/editor/editor.main.nls.js"></script>
	<script src="../release/dev/vs/editor/editor.main.js"></script>
	<script data-inline="yes-please" src="./index/index.js"></script>

</body>

<script>
var _hmt = _hmt || [];
(function() {
	var hm = document.createElement("script");
	hm.src = "https://hm.baidu.com/hm.js?6877782bbe1de05ee787e0d319abfbee";
	var s = document.getElementsByTagName("script")[0];
	s.parentNode.insertBefore(hm, s);
})();
</script>
</html>
